package cn.com.bluemoon.daps.system.entity;


import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 系统-相关负责人表
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapSystemLeader", description = "系统-相关负责人表")
public class DapSystemLeader extends BaseModel<DapSystemLeader> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "产品负责人邮箱")
    @NotNull(message = "产品负责人邮箱不能为空")
    @Email(message = "邮箱不正确")
    private String proEmail;

    @ApiModelProperty(value = "产品负责人名称")
    @NotNull(message = "产品负责人姓名不能为空")
    private String proName;

    @ApiModelProperty(value = "产品负责人工号")
    private String proId;

    @ApiModelProperty(value = "产品负责人电话")
    @NotNull(message = "产品负责人电话不能为空")
    // @Pattern(regexp  = "/^(13[0-9]|15[0|1|3|6|7|8|9]|18[8|9])\\d{8}$/",message = "电话号码格式不正确")
    private String proTel;

    @ApiModelProperty(value = "技术负责人邮箱")
    @NotNull(message = "技术负责人邮箱不能为空")
    @Email(message = "邮箱不正确")
    private String tecEmail;

    @ApiModelProperty(value = "技术负责人名称")
    @NotNull(message = "技术负责人名称不能为空")
    private String tecName;

    @ApiModelProperty(value = "技术负责人工号")
    private String tecId;

    @ApiModelProperty(value = "技术负责人电话")
    @NotNull(message = "技术负责人电话不能为空")
    // @Pattern(regexp  = "/^(13[0-9]|15[0|1|3|6|7|8|9]|18[8|9])\\d{8}$/",message = "电话号码格式不正确")
    private String tecTel;

    @ApiModelProperty(value = "业务负责人名称")
    private String busName;

    @ApiModelProperty(value = "业务负责人工号")
    private String busId;

    @ApiModelProperty(value = "业务负责人邮箱")
    @Email(message = "邮箱不正确")
    private String busEmail;

    @ApiModelProperty(value = "业务负责人电话")
    // @Pattern(regexp  = "/^(13[0-9]|15[0|1|3|6|7|8|9]|18[8|9])\\d{8}$/",message = "电话号码格式不正确")
    private String busTel;

    @ApiModelProperty(value = "关联系统表id")
    private String systemId;


}
